<!--------------------------  礼包/折扣卡 组件群  ----------------------------------->
<!-- 大礼包商品组 风格一 -->
<script type="text/html" id="tpl_show_packages">
    <div class="drag" data-itemid="<%itemid%>"  group_name="<%group_name%>" group_key="<%group_key%>" data-id="<%group_name%>">
        <div class="model-packages" style="margin-bottom: <%style.marginBottom%>px;background-color: <%style.bgColor%>;padding: <%style.margin||'10'%>px;">
            <%each data as item%>
            <div class="packages_global" style="padding:<%style.padding||'10'%>px;">
                <div class="packages_global-wrap">
                    <div class="packages_left">
                        <div class="packages_leftInfo">
                            <div class="leftInfo_name"><%item.name%></div>
                            <div class="leftInfo_useNum"><%if item.datestatus == 1%>共<%else if item.datestatus == 2%>每周<%else if item.datestatus == 3%>每月<%else if item.datestatus == 4%>每年<%/if%><%item.usetimes%>次 当前剩余<%item.surplus%>次</div>
                        </div>
                        <div class="packages_leftShop">
                            <div class="leftShop_img">
                                <img src="<%imgsrc item.logo%>" />
                            </div>
                            <div class="leftShop_shopName"><%item.storename%></div>
                        </div>
                    </div>
                    <div class="packages_right">
                        <div class="right_worth">价值<%item.price%>元</div>
                        <div class="right_btn"><span  class="right_button">去使用</span></div>
                    </div>
                </div>
            </div>
            <%/each%>
        </div>
    </div>
</script>
<!-- 大礼包商品组 风格二 -->
<script type="text/html" id="tpl_show_packages2">
    <div class="drag" data-itemid="<%itemid%>"  group_name="<%group_name%>" group_key="<%group_key%>" data-id="<%group_name%>">
        <div class="model-packages" style="margin-bottom: <%style.marginBottom%>px;">
            <%each data as item%>
            <div class="packages_global2">
                <div class="packages_global2-wrap">
                    <div class="packages_global2-wrap-content">
                        <div class="packages_left2">
                            <div class="packages_leftTitle"><%item.name%></div>
                            <div class="packages_leftInfo">
                                <div class="leftInfo_name">仅限在 <%item.storename%> 店中使用</div>
                                <div class="leftInfo_useNum"><%if item.datestatus == 1%>共<%else if item.datestatus == 2%>每周<%else if item.datestatus == 3%>每月<%else if item.datestatus == 4%>每年<%/if%><%item.usetimes%>次 当前剩余<%item.surplus%>次</div>
                            </div>
                        </div>
                        <div class="packages_right2">
                            <div class="right_worth">价值<%item.price%>元</div>
                            <div class="right_btn"><span class="right_button">免费使用</span></div>
                        </div>
                    </div>
                    <div class="packages_footer">
                        <span class="footer_useRestriction">使用限制：<%item.limit%></span>
                        <i class="icon iconfont icon-unfold"></i>
                    </div>
                </div>
            </div>
            <%/each%>
        </div>
    </div>
</script>


<!-- 打折卡商品组 风格一 -->
<script type="text/html" id="tpl_show_discount_card">
    <div class="drag" data-itemid="<%itemid%>" group_name="<%group_name%>" group_key="<%group_key%>" data-id="<%group_name%>">
        <div class="model-discount_card" style="margin-bottom: <%style.marginBottom%>px;background-color: <%style.bgColor%>;padding: <%style.margin||'10'%>px;">
            <%each data as item%>
            <div class="discountCard_global"  style="padding:<%style.padding||'10'%>px;">
                <div class="discountCard_img">
                    <img src="<%imgsrc item.logo%>" />
                </div>
                <div class="discountCard_header">
                    <div class="center_shopName"><%item.storename%></div>
                    <div class="right_position">999m</div>
                </div>
                <div class="discountCard_limit">
                    <div class="center_limit"><%item.limit%></div>
                </div>
                <div class="discountCard_bottom">
                    <div class="center_info"><%item.discount%><%if item.discount != '暂不可用'%>折<%/if%></div>
                    <div class="right_btn"><span class="right_button">立即使用</span></div>
                </div>
            </div>
            <%/each%>
        </div>
    </div>
</script>
<!-- 打折卡商品组 风格二 -->
<script type="text/html" id="tpl_show_discount_card2">
    <div class="drag" data-itemid="<%itemid%>" group_name="<%group_name%>" group_key="<%group_key%>" data-id="<%group_name%>">
        <div class="model-discount_card" style="margin-bottom: <%style.marginBottom%>px;">
            <%each data as item%>
            <div class="discountCard_global">
                <div class="discountCard_left">
                    <img src="<%imgsrc item.logo%>" />
                </div>
                <div class="discountCard_center">
                    <div class="center_shopName"><%item.storename%></div>
                    <div class="center_limit"><%item.limit%></div>
                    <div class="center_info">今日<%item.discount%><%if item.discount != '暂不可用'%>折<%/if%></div>
                </div>
                <div class="discountCard_right2">
                    <div><span class="right_button">立即使用</span></div>
                    <div class="right_position">999m</div>
                </div>
            </div>
            <%/each%>
        </div>
    </div>
</script>